{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 6,
   "source": [
    "a = ['aa', 'bb', 'cc', 'dd']\r\n",
    "b = [1,2,3,4]\r\n",
    "c = dict([(a[i],b[i]) for i in range(len(a))])\r\n",
    "c"
   ],
   "outputs": [
    {
     "output_type": "execute_result",
     "data": {
      "text/plain": [
       "{'aa': 1, 'bb': 2, 'cc': 3, 'dd': 4}"
      ]
     },
     "metadata": {},
     "execution_count": 6
    }
   ],
   "metadata": {}
  },
  {
   "cell_type": "code",
   "execution_count": 14,
   "source": [
    "d = [i+'_abc' for i in a ]\r\n",
    "d"
   ],
   "outputs": [
    {
     "output_type": "execute_result",
     "data": {
      "text/plain": [
       "['aa_abc', 'bb_abc', 'cc_abc', 'dd_abc']"
      ]
     },
     "metadata": {},
     "execution_count": 14
    }
   ],
   "metadata": {}
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "source": [],
   "outputs": [],
   "metadata": {}
  }
 ],
 "metadata": {
  "orig_nbformat": 4,
  "language_info": {
   "name": "python",
   "version": "3.9.6",
   "mimetype": "text/x-python",
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "pygments_lexer": "ipython3",
   "nbconvert_exporter": "python",
   "file_extension": ".py"
  },
  "kernelspec": {
   "name": "python3",
   "display_name": "Python 3.9.6 64-bit ('Python39')"
  },
  "interpreter": {
   "hash": "8c2360f6bc3168cbda73b0cfa34e965981d960f50cf68eb0658edcd072d2f1e1"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}